package com.ruoyi.core.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 物流对象 logistics
 * 
 * @author lgc
 * @date 2020-12-02
 */
public class Logistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 物流名称 */
    @Excel(name = "物流名称")
    private String logisticsName;

    /** 物流编码 */
    @Excel(name = "物流编码")
    private String logisticsCode;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLogisticsName(String logisticsName) 
    {
        this.logisticsName = logisticsName;
    }

    public String getLogisticsName() 
    {
        return logisticsName;
    }
    public void setLogisticsCode(String logisticsCode) 
    {
        this.logisticsCode = logisticsCode;
    }

    public String getLogisticsCode() 
    {
        return logisticsCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("logisticsName", getLogisticsName())
            .append("logisticsCode", getLogisticsCode())
            .toString();
    }
}
